//
//  CalculatorEx.m
//  Demo0009
//
//  Created by zTercel on 13-1-3.
//  Copyright (c) 2013年 zTercel. All rights reserved.
//

#import "CalculatorEx.h"

@implementation Calculator (CalculatorEx)

-(int) add: (int)left right: (int) right
{
    return (left + right);
}

-(int) sub: (int)left right: (int) right
{
    return (left - right);
}

-(int) mul: (int)left right: (int) right
{
    return (left * right);
}

-(int) div: (int)left right: (int) right
{
    return (left / right);
}

-(int) mod: (int)left right: (int) right
{
    return (left % right);
}

@end
